package com.ctshk.rpc.system.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author xuhui
 * @since 1/26/2021
 */
@Data
@ApiModel(value="MainDataCollectionTouristTypeReq", description="代收费用项 列表")
public class MainDataCollectionTouristTypeReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id",notes = "新增不需要ID，编辑需要ID")
    private Long id;

    @NotNull(message = "缺少代收费用项ID")
    @ApiModelProperty(value = "代收费用明细表id",example = "1354061306348249090")
    private Long collectionDetailsId;

    @NotNull(message="缺少旅客类型名")
    @ApiModelProperty(value = "代收费用旅客类型主数据名称",required = true,example ="小童")
    private String touristTypeName;

    @ApiModelProperty(value = "代收费用旅客类型主数据id",required = true,example = "123456")
    private Long touristTypeId;

    @ApiModelProperty(value = "年龄起始",required = true,example = "3")
    private Integer ageBegin;

    @ApiModelProperty(value = "年龄结束",required = true,example = "11")
    private Integer ageEnd;

    @ApiModelProperty(value = "金额",required = true,example = "251.22")
    private BigDecimal amount;

    @ApiModelProperty(value = "币种类型主数据id",required = true,example = "12356654")
    private Long currencyId;

    @ApiModelProperty(value = "币种类型主数据名称",required = true,example = "RMB")
    private String currencyName;

}